package com.ttj.domain.oracle.gen;

import java.io.Serializable;

public class SuperBranchReward implements Serializable {
    /**
     * 网点ID
     */
    private Integer bId;

    /**
     * 回收金额基数
     */
    private Double money;

    /**
     * 奖励比例
     */
    private Double award;

    private static final long serialVersionUID = 1L;

    /**
     * 网点ID
     */
    public Integer getbId() {
        return bId;
    }

    /**
     * 网点ID
     */
    public void setbId(Integer bId) {
        this.bId = bId;
    }

    /**
     * 回收金额基数
     */
    public Double getMoney() {
        return money;
    }

    /**
     * 回收金额基数
     */
    public void setMoney(Double money) {
        this.money = money;
    }

    /**
     * 奖励比例
     */
    public Double getAward() {
        return award;
    }

    /**
     * 奖励比例
     */
    public void setAward(Double award) {
        this.award = award;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", bId=").append(bId);
        sb.append(", money=").append(money);
        sb.append(", award=").append(award);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperBranchReward other = (SuperBranchReward) that;
        return (this.getbId() == null ? other.getbId() == null : this.getbId().equals(other.getbId()))
            && (this.getMoney() == null ? other.getMoney() == null : this.getMoney().equals(other.getMoney()))
            && (this.getAward() == null ? other.getAward() == null : this.getAward().equals(other.getAward()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getbId() == null) ? 0 : getbId().hashCode());
        result = prime * result + ((getMoney() == null) ? 0 : getMoney().hashCode());
        result = prime * result + ((getAward() == null) ? 0 : getAward().hashCode());
        return result;
    }
}